#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :pi_string.py
# @Time      :2021/4/8 16:23
# @Author    :Letquit
"""
文件说明：

"""
filename = 'pi_million_digits.txt'
with open(filename) as file_object:
    lines = file_object.readlines()
pi_string = ''
for line in lines:
    pi_string += line.rstrip()
birthday = input("Enter your birthday, in the form mmddyy: ")
if birthday in pi_string:
    print('Your birthday appears in the first million digits of pi!')
else:
    print('Your birthday does not appear in the first million digits of pi')
# print(pi_string[:52] + '...')
# print(len(pi_string))
if __name__ == "__main__":
    run_code = 0
